#include <stdio.h>
#include <stdlib.h>
#include <time.h>


int main () {
	srand(time(0));
	int task = rand() % 100 + 1;
	int count = 0;
	int n = 0;
	printf("input a mumber\n");
	scanf("%d", &n);
	for (; n != task;) {
		if (n > task ) {
			printf("too big\n");
		} else if (n < task) {
			printf("too small\n");
		}
		count++;
		printf("input a mumber\n");
		scanf("%d", &n);

	}
	printf("right\n");
	printf("times %d \n", count);
	return 0;
}